import { createApp } from 'vue'
import App from './App.vue'
import store from './store/modules/index'

// 创建pinia
import { createPinia } from 'pinia'

// createApp(App).mount('#app') 

// 等同于下面的
// 创建实例对象app
const app = createApp(App)
app.use(createPinia())
app.use(store)
// 挂载
app.mount('#app')


// const vm = new Vue({
//     render: h => h(App)
// })
// vm.$mount('#app')
